package com.chenailin.www.service;

import com.chenailin.www.model.vo.ArticleVO;
import com.chenailin.www.model.vo.KnowledgeBaseVO;
import com.chenailin.www.model.vo.SearchResultVO;
import com.chenailin.www.model.vo.UserVO;

import java.util.List;

/**
 * @author evi
 */
public interface SearchService {
    SearchResultVO search(String keyword, int page, int size);

    List<ArticleVO> searchArticles(String keyword, int page, int size);

    List<KnowledgeBaseVO> searchKnowledgeBases(String keyword, int page, int size);

    List<UserVO> searchUsers(String keyword, int page, int size);

//    SearchResultVO globalSearch(String keyword, Long userId, int page, int size);
}
